<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class DB</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class DB</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Описание</div>
	<div class="nav-bar">
					<span class="disabled">Описание</span> |
							<a href="#sec-descendents">Потомки</a>
			|											<a href="#sec-var-summary">Переменные</a> (<a href="#sec-vars">детали</a>)
						|											<a href="#sec-method-summary">Методы</a> (<a href="#sec-methods">детали</a>)
						
											<a href="#sec-const-summary">Константы</a> (<a href="#sec-consts">детали</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Базовый класс для работы с базами</p>
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
			</ul>
		<p class="notes">
			Расположен в <a class="field" href="_core_db_php.html">/core/db.php</a> (строка <span class="field"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a14">14</a></span>)
		</p>
		
				
		<pre><a href="../myLiveShop/Base.html">Base</a>
   |
   --DB</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Прямые потомки</div>
		<div class="nav-bar">
			<a href="#sec-description">Описание</a> |
			<span class="disabled">Описание</span>
			|												<a href="#sec-var-summary">Переменные</a> (<a href="#sec-vars">детали</a>)
								|															<a href="#sec-method-summary">Методы</a> (<a href="#sec-methods">детали</a>)
							
															<a href="#sec-const-summary">Константы</a> (<a href="#sec-consts">детали</a>)
							
					</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Класс</th>
					<th class="class-table-header">Описание</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../myLiveShop/Mysql.html">Mysql</a></td>
					<td>
											Класс для работы с базой mysql
										</td>
				</tr>
							</table>
		</div>
	</div>

	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Константы класса</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Описание</a> |
							<a href="#sec-descendents">Потомки</a> |
						<span class="disabled">Константы</span> (<a href="#sec-consts">детали</a>)
												<a href="#sec-var-summary">Переменные</a> (<a href="#sec-vars">детали</a>)
				 
				|
										| 
									<a href="#sec-method-summary">Методы</a> (<a href="#sec-methods">детали</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPE_INT" title="детали" class="const-name">TYPE_INT</a> = 					<span class="var-type">&quot;int&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPE_OBJECT" title="детали" class="const-name">TYPE_OBJECT</a> = 					<span class="var-type">&quot;object&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPE_STRING" title="детали" class="const-name">TYPE_STRING</a> = 					<span class="var-type">&quot;string&quot;</span>

				</div>
							</div>
		</div>
	</div>

	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Переменные</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Описание</a> |
							<a href="#sec-descendents">Потомки</a> |
						<span class="disabled">Переменные</span> (<a href="#sec-vars">детали</a>)
							| 
									<a href="#sec-method-summary">Методы</a> (<a href="#sec-methods">детали</a>)
							
															<a href="#sec-const-summary">Константы</a> (<a href="#sec-consts">детали</a>)
							
					</div>
		<div class="info-box-body">
			<div class="var-summary">
								<div class="var-title">
					<span class="var-type"><a href="../myLiveShop/DB.html">DB</a></span>
					<a href="#$instance" title="детали" class="var-name">$instance</a>
				</div>
							</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Методы</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Описание</a> |
							<a href="#sec-descendents">Потомки</a> |
															<a href="#sec-const-summary">Константы</a> (<a href="#sec-consts">детали</a>)
							
															<a href="#sec-var-summary">Переменные</a> (<a href="#sec-vars">детали</a>)
				 
				|
						<span class="disabled">Методы</span> (<a href="#sec-methods">детали</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#apostrof" title="детали" class="method-name">apostrof</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#close" title="детали" class="method-name">close</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#connect" title="детали" class="method-name">connect</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#delete" title="детали" class="method-name">delete</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$where</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$query</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#eraseData" title="детали" class="method-name">eraseData</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">&$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">'auto'</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#escaped" title="детали" class="method-name">escaped</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getArray" title="детали" class="method-name">getArray</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$var</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result"><a href="../myLiveShop/DB.html">DB</a></span>
										<a href="#getInstance" title="детали" class="method-name">getInstance</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#insert" title="детали" class="method-name">insert</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$data</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$params</span> = <span class="var-default">false</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$query</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#isConnect" title="детали" class="method-name">isConnect</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#lastId" title="детали" class="method-name">lastId</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#prepareData" title="детали" class="method-name">prepareData</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">&$value</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#query" title="детали" class="method-name">query</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$query</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#update" title="детали" class="method-name">update</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$data</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$where</span> = <span class="var-default">''</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$query</span>)
									</div>
							</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Переменные</div>
		<div class="nav-bar">
			<a href="#sec-description">Описание</a> |
							<a href="#sec-descendents">Потомки</a> |
										<a href="#sec-var-summary">Переменные</a> (<span class="disabled">детали</span>)
						
			
												<a href="#sec-const-summary">Константы</a> (<a href="#sec-consts">детали</a>)
							
										| 
									<a href="#sec-method-summary">Методы</a> (<a href="#sec-methods">детали</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$instance" id="$instance"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../myLiveShop/DB.html">DB</a></span>
			<span class="var-name">$instance</span>
						(line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a35">35</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Инстанс класа</p>
	<ul class="tags">
				<li><span class="field">static:</span> </li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Методы</div>
		<div class="nav-bar">
			<a href="#sec-description">Описание</a> |
							<a href="#sec-descendents">Потомки</a> |
															<a href="#sec-var-summary">Переменные</a> (<a href="#sec-vars">детали</a>)
																			<a href="#sec-const-summary">Константы</a> (<a href="#sec-consts">детали</a>)
							
										<a href="#sec-method-summary">Методы</a> (<span class="disabled">детали</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodapostrof" id="apostrof"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">apostrof</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a143">143</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Ставим апостофы</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			apostrof
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
		
	</div>
<a name="methodclose" id="close"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">close</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a45">45</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Закрываем конект к базе</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">abstract:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			close
		</span>
				()
			</div>
	
		
		
			<hr class="separator" />
		<div class="notes">Переопределён в потомке как:</div>
		<ul class="redefinitions">
					<li>
				<a href="../myLiveShop/Mysql.html#methodclose">Mysql::close()</a>
								: Закрываем конект к базе
							</li>
				</ul>
	</div>
<a name="methodconnect" id="connect"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">connect</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a40">40</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Конект к базе данных</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">abstract:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			connect
		</span>
				()
			</div>
	
		
		
			<hr class="separator" />
		<div class="notes">Переопределён в потомке как:</div>
		<ul class="redefinitions">
					<li>
				<a href="../myLiveShop/Mysql.html#methodconnect">Mysql::connect()</a>
								: Конект к базе данных
							</li>
				</ul>
	</div>
<a name="methoddelete" id="delete"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">delete</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a75">75</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Удаление данных</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">abstract:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			delete
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$where</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$query</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$query</span><span class="var-description">: строка запроса</span>			</li>
				</ul>
		
		
			<hr class="separator" />
		<div class="notes">Переопределён в потомке как:</div>
		<ul class="redefinitions">
					<li>
				<a href="../myLiveShop/Mysql.html#methoddelete">Mysql::delete()</a>
								: Удаление данных
							</li>
				</ul>
	</div>
<a name="methoderaseData" id="eraseData"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">eraseData</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a114">114</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Очищаем данные в соответствии с типом</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			eraseData
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">&$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">'auto'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: ссылка на данные</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span><span class="var-description">: тип данных (int/string/object)</span>			</li>
				</ul>
		
		
	</div>
<a name="methodescaped" id="escaped"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">escaped</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a152">152</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Защитить данные</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">abstract:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			escaped
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
		
			<hr class="separator" />
		<div class="notes">Переопределён в потомке как:</div>
		<ul class="redefinitions">
					<li>
				<a href="../myLiveShop/Mysql.html#methodescaped">Mysql::escaped()</a>
								: Защитить данные
							</li>
				</ul>
	</div>
<a name="methodgetArray" id="getArray"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getArray</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a158">158</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Получить массив данных по запросу</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">abstract:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getArray
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$var</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$var</span><span class="var-description">: либо строка запроса либо ресурс</span>			</li>
				</ul>
		
		
			<hr class="separator" />
		<div class="notes">Переопределён в потомке как:</div>
		<ul class="redefinitions">
					<li>
				<a href="../myLiveShop/Mysql.html#methodgetArray">Mysql::getArray()</a>
								: Получить массив данных по запросу
							</li>
				</ul>
	</div>
<a name="methodgetInstance" id="getInstance"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getInstance</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a102">102</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Поличение инстанса класса</p>
	<ul class="tags">
				<li><span class="field">static:</span> </li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../myLiveShop/DB.html">DB</a></span>
		<span class="method-name">
			getInstance
		</span>
				()
			</div>
	
		
		
			<hr class="separator" />
		<div class="notes">Переопределён в потомке как:</div>
		<ul class="redefinitions">
					<li>
				<a href="../myLiveShop/Mysql.html#methodgetInstance">Mysql::getInstance()</a>
								: Поличение инстанса класса
							</li>
				</ul>
	</div>
<a name="methodinsert" id="insert"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">insert</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a57">57</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Вставка данных</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">abstract:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			insert
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$data</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$params</span> = <span class="var-default">false</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$query</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$query</span><span class="var-description">: строка запроса</span>			</li>
				</ul>
		
		
			<hr class="separator" />
		<div class="notes">Переопределён в потомке как:</div>
		<ul class="redefinitions">
					<li>
				<a href="../myLiveShop/Mysql.html#methodinsert">Mysql::insert()</a>
								: Вставка данных
							</li>
				</ul>
	</div>
<a name="methodisConnect" id="isConnect"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">isConnect</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a80">80</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Возвращает true если база подконекчена</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">abstract:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			isConnect
		</span>
				()
			</div>
	
		
		
			<hr class="separator" />
		<div class="notes">Переопределён в потомке как:</div>
		<ul class="redefinitions">
					<li>
				<a href="../myLiveShop/Mysql.html#methodisConnect">Mysql::isConnect()</a>
								: Возвращает true если база подконекчена
							</li>
				</ul>
	</div>
<a name="methodlastId" id="lastId"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">lastId</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a63">63</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Последний ID</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">abstract:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			lastId
		</span>
				()
			</div>
	
		
		
			<hr class="separator" />
		<div class="notes">Переопределён в потомке как:</div>
		<ul class="redefinitions">
					<li>
				<a href="../myLiveShop/Mysql.html#methodlastId">Mysql::lastId()</a>
								: Последний ID
							</li>
				</ul>
	</div>
<a name="methodprepareData" id="prepareData"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">prepareData</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a87">87</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Обрабатываем данные перед сохранением и возвращаем их тип</p>
	<ul class="tags">
				<li><span class="field">return:</span> тип данных (int/string/object) или false если не удалось определить тип</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			prepareData
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">&$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: ссылка на данные</span>			</li>
				</ul>
		
		
	</div>
<a name="methodquery" id="query"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">query</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a51">51</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Запрос к базе</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">abstract:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			query
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$query</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$query</span><span class="var-description">: строка запроса</span>			</li>
				</ul>
		
		
			<hr class="separator" />
		<div class="notes">Переопределён в потомке как:</div>
		<ul class="redefinitions">
					<li>
				<a href="../myLiveShop/Mysql.html#methodquery">Mysql::query()</a>
								: Запрос к базе
							</li>
				</ul>
	</div>
<a name="methodupdate" id="update"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">update</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a69">69</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Изменение данных</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">abstract:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			update
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$data</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$where</span> = <span class="var-default">''</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$query</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$query</span><span class="var-description">: строка запроса</span>			</li>
				</ul>
		
		
			<hr class="separator" />
		<div class="notes">Переопределён в потомке как:</div>
		<ul class="redefinitions">
					<li>
				<a href="../myLiveShop/Mysql.html#methodupdate">Mysql::update()</a>
								: Изменение данных
							</li>
				</ul>
	</div>
							<h4>Наследуемые методы</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Наследует из <span class="classname"><a href="../myLiveShop/Base.html">Base</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../myLiveShop/Base.html#method__construct">Base::__construct()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Константы класса</div>
		<div class="nav-bar">
			<a href="#sec-description">Описание</a> |
							<a href="#sec-descendents">Потомки</a> |
										<a href="#sec-var-summary">Константы</a> (<span class="disabled">детали</span>)
						
			
												<a href="#sec-var-summary">Переменные</a> (<a href="#sec-vars">детали</a>)
														| 
									<a href="#sec-method-summary">Методы</a> (<a href="#sec-methods">детали</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constTYPE_INT" id="TYPE_INT"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPE_INT</span>
			 = <span class="const-default">&quot;int&quot;</span>
			(line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a19">19</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Тип данных число</p>
	
	
</div>
<a name="constTYPE_OBJECT" id="TYPE_OBJECT"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPE_OBJECT</span>
			 = <span class="const-default">&quot;object&quot;</span>
			(line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a29">29</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Тип данных объект</p>
	
	
</div>
<a name="constTYPE_STRING" id="TYPE_STRING"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPE_STRING</span>
			 = <span class="const-default">&quot;string&quot;</span>
			(line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredb.php.html#a24">24</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Тип данных строка</p>
	
	
</div>
						
		</div>
	</div>

	<p class="notes" id="credit">
		Документ создан Mon, 14 Feb 2011 01:08:36 +0200 в <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
	</p>
	</div></body>
</html>